<!-- <div class="">
  <%= notice %>
  <h1 style="text-align:center">欢迎光临rich！</h1>
  <%= image_tag "rui_qu_1.jpg" %>
  <%= image_tag "rui_qu_2.jpg" %>
</div> -->
<%= notice %>
<div class="bs-example" data-example-id="striped-table">
    <table class="table table-striped table-hover">
      <thead>
        <tr>
          <th>#</th>
          <th>Company Name</th>
          <th>法人</th>
          <th>联系电话</th>
          <th>注册时间</th>
          <th>系统ID</th>
          <th></th>
          <th>操作</th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% @stores.each_with_index do |store, i| %>
          <tr>
            <th scope="row"><%= i + 1 %></th>
            <td> <%= store.name %></td>
            <td> <%= store.legal_person %></td>
            <td> <%= store.admin.phone_number %></td>
            <td> <%= store.created_at.strftime("%Y-%m-%d") %></td>
            <td>
              <%= store.uid %>
            </td>
            <!-- <td> <%= link_to '详情', ruiqu_store_path(store) %></td> -->
            <td>详情</td>
            <td><%= link_to '图片', new_ruiqu_store_product_path(store)%></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
